JAKARTA -- Indonesian President Joko Widodo secured a second five-year term on Wednesday in the country's fourth presidential election since former President Suharto's dictatorship collapsed in 1998.